<template>
   <!-- 加载图标样式12 -->
   <div class="loading">
      <div style="background-color: rgb(22, 120, 255);"></div>
      <div style="background-color: rgb(22, 120, 255);"></div>
      <div style="background-color: rgb(22, 120, 255);"></div>
      <div style="background-color: rgb(22, 120, 255);"></div>
      <div style="background-color: rgb(22, 120, 255);"></div>
      <div style="background-color: rgb(22, 120, 255);"></div>
      <div style="background-color: rgb(22, 120, 255);"></div>
      <div style="background-color: rgb(22, 120, 255);"></div>
   </div>
</template>

<script setup>

</script>

<style scoped lang='scss'>
.loading>div,
.loading {
   box-sizing: border-box;
   position: relative
}

.loading {
   animation: ball-spin-clockwise-fade-rotating-rotate 6s linear infinite;
   display: block;
   font-size: 0;
   height: 52px;
   width: 52px;
}

.loading>div {
   animation: ball-spin-clockwise-fade-rotating 1s linear infinite, colorChange 5s infinite;
   background-color: currentColor;
   border: 0 solid;
   border-radius: 100%;
   display: inline-block;
   float: none;
   height: 8px;
   left: 50%;
   margin-left: -4px;
   margin-top: -4px;
   position: absolute;
   top: 50%;
   width: 8px
}

.loading>div:first-child {
   animation-delay: -.875s;
   left: 50%;
   top: 5%
}

.loading>div:nth-child(2) {
   animation-delay: -.75s;
   left: 81.8198051534%;
   top: 18.1801948466%
}

.loading>div:nth-child(3) {
   animation-delay: -.625s;
   left: 95%;
   top: 50%
}

.loading>div:nth-child(4) {
   animation-delay: -.5s;
   left: 81.8198051534%;
   top: 81.8198051534%
}

.loading>div:nth-child(5) {
   animation-delay: -.375s;
   left: 50.0000000005%;
   top: 94.9999999966%
}

.loading>div:nth-child(6) {
   animation-delay: -.25s;
   left: 18.1801949248%;
   top: 81.8198046966%
}

.loading>div:nth-child(7) {
   animation-delay: -.125s;
   left: 5.0000051215%;
   top: 49.9999750815%
}

.loading>div:nth-child(8) {
   animation-delay: 0s;
   left: 18.1803700518%;
   top: 18.179464974%
}

.loading.la-sm {
   height: 16px;
   width: 16px
}

.loading.la-sm>div {
   height: 4px;
   margin-left: -2px;
   margin-top: -2px;
   width: 4px
}

.loading.la-2x {
   height: 64px;
   width: 64px
}

.loading.la-2x>div {
   height: 16px;
   margin-left: -8px;
   margin-top: -8px;
   width: 16px
}

.loading.la-3x {
   height: 96px;
   width: 96px
}

.loading.la-3x>div {
   height: 24px;
   margin-left: -12px;
   margin-top: -12px;
   width: 24px
}

@keyframes ball-spin-clockwise-fade-rotating-rotate {
   to {
      transform: rotate(-1turn)
   }
}

@keyframes ball-spin-clockwise-fade-rotating {
   50% {
      opacity: .25;
      transform: scale(.5)
   }

   to {
      opacity: 1;
      transform: scale(1)
   }
}

@keyframes colorChange {
   0% {
      background-color: #1678ff
   }

   20% {
      background-color: #04be02
   }

   40% {
      background-color: #ea4e3d
   }

   60% {
      background-color: #ffaa09
   }

   80% {
      background-color: #e229ff
   }

   to {
      background-color: #1678ff
   }
}
</style>
